import Http from '@/utils/Http';
import { Uri } from '@/constant/Constants';
import { ConfigureResponse } from '@/protocol/response/CommonResponse';
import Util from '@/utils/Util';
import { CacheKeys } from '@/constant/CacheKeys';
import UniUtil from '@/utils/UniUtil';
import LoggerUtil from '@/utils/LoggerUtil';
import { XhsResponse } from '@/protocol/response/XhsResponse';

export namespace XhsService {

    export async function extract(url: string): Promise<XhsResponse.NodeData> {
        return Http.request(Uri.xhs_extract, { url: url }, new XhsResponse.NodeData(),true,true);
    }
}